#!/usr/bin/env bash

. scripts/update_ver.sh

gulp defaultReal
ionic state reset
echo 恢复插件成功

ionic build --release android
cp platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk ygj-customer-test-$VERSION.apk
echo 移动目标文件完成
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore jielin.key ygj-customer-test-$VERSION.apk alias_name
